import TipsUtils from "../utils/tipsUtils";
import VoiceSource from "../voice/voiceSource";

const gameEnd: boolean = false;

export enum GameMode {
  INFINITY = 2,
  LIMITED = 1
}

export const GameVar: any = {
  gameEnd,
  myHero: null,
  mode: GameMode.LIMITED, //1限时对战, 2无限积分,
  userInfo: {nick: "自己", uid: -1},
}

export const GlobalObject: { confirm?: cc.Node, tips?: TipsUtils, voiceSource?: VoiceSource } = {}
